package com.lala.rennigou.service;

import com.github.pagehelper.PageInfo;
import com.lala.rennigou.pojo.EasybuyOrder;

import java.util.List;

public interface EasybuyOrderService {
    int addOrder(EasybuyOrder easybuyOrder);

    PageInfo<EasybuyOrder> myOrder(int userid,int p);

    PageInfo<EasybuyOrder> allOrder(int p);

    List<EasybuyOrder> selectByID(int userid);
    EasybuyOrder selectById(int id);

    int tuikuan(int  id);
}
